package com.bcu.cn.onlineexamsystem.exammanage.entity;

import java.time.LocalDateTime;

/**
 * 学生考试记录实体类
 */
public class StudentExam {
    private Long recordId;        // 记录ID
    private String studentId;     // 学生ID
    private Long examId;          // 考试ID
    private LocalDateTime startTime;  // 开始时间
    private LocalDateTime submitTime; // 提交时间
    private Integer status;       // 状态(0未考/1考试中/2已提交)
    private Double totalScore;    // 考试得分
    private String studentName;   // 学生姓名
    private String className;     // 班级名称

    // Getters and Setters
    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(LocalDateTime submitTime) {
        this.submitTime = submitTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Double totalScore) {
        this.totalScore = totalScore;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
} 